package xyz.yuanjilu.batch;


import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.batch.item.ItemProcessor;
import org.springframework.stereotype.Component;

@Component("processor")
public class ExampleItemProcessor implements ItemProcessor<String,Object>{
	
	protected final Logger logger = LoggerFactory.getLogger(getClass());
	
	@Override
	public Object process(String arg0) throws Exception {
		logger.info("process"+arg0);
		return "hahah";
	}

}
